@charset "UTF-8";
@import "./variable";
@import "./sprites";

/* 图片地址统一使用本函数生成，同时支持版本号 */
@function image-path($file) {
    @return '/images/' + $file + '?v=' + $image-ver;
}

/**
 * 注意：
 *       关于单位，pcweb使用px，移动端使用rem，使用时注意修改body中的font-size（或者其它位置的相应单位）
 */


/**
 * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
 * http://cssreset.com
 */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    font-size: 100%;
    vertical-align: middle;
}


/*去除安卓高亮边框*/

* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

div:focus,
a:focus,
input:focus {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

div:active,
a:active,
input:active {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

html {
    color: #333;
    height: 100%;
    -webkit-user-select: none;
    user-select: none;
}


/*防止在webkit下出现font boosting*/

* {
    max-height: 999999px;
}


/*@media only screen and (-webkit-min-device-pixel-ratio: 3) {
    html { font-size: 15px; }
}*/

body {
    font-size: $fs12;
    line-height: 1.5;
    font-family: "-apple-system", "Heiti SC", "Helvetica", "Helvetica Neue", "Droid Sans Fallback", "Droid Sans";
    height: auto;
    min-height: 100%;
}


ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a {
    text-decoration: none;
}

a:focus{
    outline:none;
}

input,
textarea,
button,
a {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

body {
    -webkit-text-size-adjust: none;
    /*-webkit-user-select:none;*/
}

a,
img {
    /*-webkit-touch-callout: none;*/
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

input:focus {
    outline: none;
}

/* ------------- reset end --------------- */

/* 单行加省略号 */

.single-line-clamp {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: break-all;
}